package com.wugui.datax.admin.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by jingwk on 2020/05/24
 */
@Data
public class JobProject {

	@ApiModelProperty("项目Id")
	private int id;

	@ApiModelProperty("项目名称")
	private String name;

	@ApiModelProperty("项目描述")
	private String description;

	@ApiModelProperty("用户Id")
	private int userId;

	@ApiModelProperty("标记")
	private Boolean flag;

	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	@ApiModelProperty("更新时间")
	private Date updateTime;

	@TableField(exist = false)
	private String userName;

}
